package net.maku.events.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;
import net.maku.framework.mybatis.entity.BaseEntity;

import java.util.Date;

/**
 * 用户所答竞赛题选项
 *
 * @author 阿沐 babamu@126.com
 * @since 1.0.0 2025-03-22
 */

@Data
@TableName("user_contest_question_option")
public class UserContestQuestionOptionEntity extends BaseEntity {


	/**
	* 用户id
	*/
	private Long userId;

	/**
	 * 竞赛答题id
	 */
	private Long contestQuestionId;

	/**
	 * 竞赛答题id
	 */
	private Long questionId;

	/**
	* 选项id
	*/
	private Long optionId;

	/**
	* 选项标题
	*/
	private String optionTitle;

	/**
	* 是否是正确答案
	*/
	private Integer whetherCorrectAnswer;

	/**
	* 是否选中
	*/
	private Integer whetherSelected;

	/**
	* 租户ID
	*/
	private Long tenantId;

}